package sunsun.xiaoli.jiarebang.beans;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * [{
 * "id": 1,
 * "title": "直播间一",
 * "summary": "固定一号直播间",
 * "create_time": 1542790541,
 * "update_time": 0,
 * "_cover": "http:\/\/video.sunsunxiaoli.com\/key_frame\/sunsunlive\/238.jpg",
 * "_programme_list": [{
 * "id": 2,
 * "channel_id": 1,
 * "room_id": 238,
 * "start_time": 1542792960,
 * "end_time": 1545384960,
 * "create_time": 1542792990,
 * "cover": "http:\/\/video.sunsunxiaoli.com\/key_frame\/sunsunlive\/238.jpg"
 * }
 * ]
 * }
 */
public class LiveChannelListBean implements Serializable {

    String id;
    String title;
    String summary;
    String create_time;
    String update_time;
    @SerializedName("_cover")
    String cover;
    @SerializedName("_programme_list")
    List<ProgrammeList> programme_list;

    String domain;
    String app;
    String room_id;
    String uri;
    String duration;
    String start_time;
    String stop_time;
    String has_tag;
    String play_cnt;
    String likes;
    String cover_url;
    String ali_video_id;
    int video_type;
    int fav = 0;

    public int getFav() {
        return fav;
    }

    public void setFav(int fav) {
        this.fav = fav;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public String getApp() {
        return app;
    }

    public void setApp(String app) {
        this.app = app;
    }

    public String getRoom_id() {
        return room_id;
    }

    public void setRoom_id(String room_id) {
        this.room_id = room_id;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getStop_time() {
        return stop_time;
    }

    public void setStop_time(String stop_time) {
        this.stop_time = stop_time;
    }

    public String getHas_tag() {
        return has_tag;
    }

    public void setHas_tag(String has_tag) {
        this.has_tag = has_tag;
    }

    public String getPlay_cnt() {
        return play_cnt;
    }

    public void setPlay_cnt(String play_cnt) {
        this.play_cnt = play_cnt;
    }

    public String getLikes() {
        return likes;
    }

    public void setLikes(String likes) {
        this.likes = likes;
    }

    public String getCover_url() {
        return cover_url;
    }

    public void setCover_url(String cover_url) {
        this.cover_url = cover_url;
    }

    public String getAli_video_id() {
        return ali_video_id;
    }

    public void setAli_video_id(String ali_video_id) {
        this.ali_video_id = ali_video_id;
    }

    public int getVideo_type() {
        return video_type;
    }

    public void setVideo_type(int video_type) {
        this.video_type = video_type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }


    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public List<ProgrammeList> getProgramme_list() {
        return programme_list;
    }

    public void setProgramme_list(List<ProgrammeList> programme_list) {
        this.programme_list = programme_list;
    }

    public class ProgrammeList implements Serializable {
        String id;
        String channel_id;
        String room_id;
        String start_time;
        String end_time;
        String create_time;
        String cover;
        String uid;
        @SerializedName("_nick")
        String nick;

        @SerializedName("_pwd")
        String pwd;//直播间密码
        @SerializedName("_stream_status")
        int streamStatus;
        @SerializedName("_enable_cam")
        int pg_type;//直播类型 0：普通手机直播 1：连接摄像头
        @SerializedName("_cam_did")
        String cam_did;
        @SerializedName("_cam_pwd")
        String cam_pwd;
        @SerializedName("_record_id")
        String recordId;

        public String getPwd() {
            return pwd;
        }

        public void setPwd(String pwd) {
            this.pwd = pwd;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getRecordId() {
            return recordId;
        }

        public void setRecordId(String recordId) {
            this.recordId = recordId;
        }

        public String getCam_did() {
            return cam_did;
        }

        public void setCam_did(String cam_did) {
            this.cam_did = cam_did;
        }

        public String getCam_pwd() {
            return cam_pwd;
        }

        public void setCam_pwd(String cam_pwd) {
            this.cam_pwd = cam_pwd;
        }

        public int getPg_type() {
            return pg_type;
        }

        public void setPg_type(int pg_type) {
            this.pg_type = pg_type;
        }

        public int getStreamStatus() {
            return streamStatus;
        }

        public void setStreamStatus(int streamStatus) {
            this.streamStatus = streamStatus;
        }

        public String getNick() {
            return nick;
        }

        public void setNick(String nick) {
            this.nick = nick;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getChannel_id() {
            return channel_id;
        }

        public void setChannel_id(String channel_id) {
            this.channel_id = channel_id;
        }

        public String getRoom_id() {
            return room_id;
        }

        public void setRoom_id(String room_id) {
            this.room_id = room_id;
        }

        public String getStart_time() {
            return start_time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public String getEnd_time() {
            return end_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }
    }
}
